---
title: Attorney Tables
summary: Maintains attorney conflict, policy, worker, schedule, and rotation assignment tables.
status: draft
owner: SAIF Doc Gen
last_reviewed: 2026-08-25
---

# Attorney Tables

This screen maintains the application's attorney assignment tables for conflicts, policy assignments, worker assignments, schedules, and out-of-town rotation. Users choose a table and optional attorney filter, then edit the active Infragistics grid to insert, delete, save, print conflict reports, or persist layout preferences through manager/controller flows tied to [SAIF.Application.Claim.Legal](../libraries/saif-application-claim-legal/overview.md) and [SAIF.Business.Claim.Legal](../libraries/saif-business-claim-legal/overview.md).*

## Entry conditions
- User opens `frmAttorneyAssignment.aspx` inside the LegalMaintenance application.

## Fields

| Field | Control type | Purpose | Validation |
| --- | --- | --- | --- |
| `ddlTableType` | DropDownList | Selects the active attorney maintenance table (`attorney_conflict`, `attorney_policy_assignment`, `attorney_worker_assignment`, `attorney_schedule`, or `out_of_town_rotation_assgn`). | Required to determine the active grid; `attorney_schedule` also requires a specific attorney selection before data is shown. |
| `ddlAttorney` | DropDownList | Filters the selected table to a specific attorney. | Must not be `ALL` when `ddlTableType` is `attorney_schedule`. |
| `btnRetrieve` | Button | Posts the page back so the active table is rebound with the current filters. | No additional server-side validation; the active grid still enforces its collection validation on save. |
| `chkExpired` | CheckBox | Includes expired attorneys/assignments where the selected table supports that filter. | Hidden for schedule and rotation tables; value is copied to `Manager.IncludeExpired`. |
| `imbProvider` | Image button | Opens the provider lookup popup used with conflict rows. | Visible only when `ddlTableType` is `attorney_conflict`. |
| `dgConflict` | Infragistics WebDataGrid | Edits attorney conflict assignments, including attorney, dates, policy, ALJ, adjuster, and claimant attorney columns. | `ClaimantAttorney` and `PolicyName` are read-only; save requires `Manager.AttorneyConflictCol.IsDirty` and `Manager.AttorneyConflictCol.IsValid`. |
| `dgPolicy` | Infragistics WebDataGrid | Edits primary, secondary, and tertiary attorney assignments by policy. | `ParentAccount`, `RateAccount`, and `PolicyName` are read-only; save requires `Manager.AttorneyPolicyAssignmentCol.IsDirty` and `Manager.AttorneyPolicyAssignmentCol.IsValid`. |
| `dgWorker` | Infragistics WebDataGrid | Edits worker-to-attorney assignments. | Save requires `Manager.AttorneyWorkerAssignmentCol.IsDirty` and `Manager.AttorneyWorkerAssignmentCol.IsValid`. |
| `dgSchedule` | Infragistics WebDataGrid | Edits attorney schedule rows by attorney, effective/expiration date, schedule type, and duration. | The screen refuses to load this grid when `ddlAttorney` is `ALL`; save requires `Manager.AttorneyScheduleCol.IsDirty` and `Manager.AttorneyScheduleCol.IsValid`. |
| `dgRotation` | Infragistics WebDataGrid | Edits out-of-town rotation assignments by attorney and hearing location. | Save requires `Manager.OutOFTownRotationCol.IsDirty` and `Manager.OutOFTownRotationCol.IsValid`. |

## Operations

| Operation | Trigger | Description |
| --- | --- | --- |
| Retrieve selected table | `btnRetrieve` click | Rebinds the currently selected table using the selected attorney and expired filters. |
| Insert row | `SAIFMenuTop.InsertButton` click | Inserts a new row into the active assignment grid and begins editing its first editable field. |
| Save changes | `SAIFMenuTop.SaveButton` click | Validates the active collection and persists changes through `Controller.Write`. |
| Delete selected row | `SAIFMenuTop.DeleteButton` click | Deletes the currently selected row from the active assignment collection. |
| Print conflict report | `SAIFMenuTop.PrintButton` click | Runs `Legal_Maint_AttorneyConflicts` for the conflict table. |
| Save grid preferences | `SAIFMenuTop.PrefsSet` click | Saves the active grid's size and column preferences. |
| Clear grid preferences | `SAIFMenuTop.PrefsClear` click | Clears saved preferences for the active grid. |
| Open provider lookup | `imbProvider` click | Launches the client-side provider popup for conflict-table editing. |

## Business rules

| Rule ID | Rule | Enforcement | Source |
| --- | --- | --- | --- |
| [BR-APP-001](../application/business-rules.md#br-app-001-ad-group-gated-view-only-mode-controls-toolbar-edits) | View-only users can open the screen but cannot insert, save, or delete attorney-table records. | `Page_Load` disables the toolbar buttons when `Manager.IsInViewOnly` is true. | `LegalMaintenance\frmAttorneyAssignment.aspx.vb:61-68` |
| [BR-APP-004](../application/business-rules.md#br-app-004-environment-classification-governs-real-vs-test-side-effects) | Saving attorney assignment collections delegates to `Controller.Write`; environment-sensitive calendar-sync side effects occur downstream in the attorney-assignment process.* | `Save()` calls `Controller.Write` for each supported assignment collection.* | `LegalMaintenance\frmAttorneyAssignment.aspx.vb:250-316` |
| — | Conflict-specific report and provider-lookup affordances are only available when `ddlTableType` is `attorney_conflict`. | `ConfigureView()` toggles the print button, provider image, and claimant-attorney label from the selected table type. | `LegalMaintenance\frmAttorneyAssignment.aspx.vb:79-88` |
| — | Attorney schedule data cannot be displayed until the user selects a specific attorney. | `ConfigureView()` shows an error and exits when `ddlAttorney.SelectedValue = "ALL"` for `attorney_schedule`. | `LegalMaintenance\frmAttorneyAssignment.aspx.vb:132-137` |

## Infragistics components

| Control ID | Control type | SAIF wrapper | Infragistics base | Purpose |
| --- | --- | --- | --- | --- |
| `dgConflict` | WebDataGrid | Direct Infragistics control (no SAIF wrapper) | Infragistics.Web.UI.GridControls.WebDataGrid | Maintains attorney conflict assignments. |
| `dgPolicy` | WebDataGrid | Direct Infragistics control (no SAIF wrapper) | Infragistics.Web.UI.GridControls.WebDataGrid | Maintains attorney policy assignments. |
| `dgWorker` | WebDataGrid | Direct Infragistics control (no SAIF wrapper) | Infragistics.Web.UI.GridControls.WebDataGrid | Maintains attorney worker assignments. |
| `dgSchedule` | WebDataGrid | Direct Infragistics control (no SAIF wrapper) | Infragistics.Web.UI.GridControls.WebDataGrid | Maintains attorney schedule rows. |
| `dgRotation` | WebDataGrid | Direct Infragistics control (no SAIF wrapper) | Infragistics.Web.UI.GridControls.WebDataGrid | Maintains out-of-town rotation assignments. |
| `WebResizingExtender_dgConflict` | WebResizingExtender | Direct Infragistics control (no SAIF wrapper) | Infragistics.WebUI.WebResizingExtender | Persists client resizing for the conflict grid. |
| `WebResizingExtender_dgPolicy` | WebResizingExtender | Direct Infragistics control (no SAIF wrapper) | Infragistics.WebUI.WebResizingExtender | Persists client resizing for the policy grid. |
| `WebResizingExtender_dgWorker` | WebResizingExtender | Direct Infragistics control (no SAIF wrapper) | Infragistics.WebUI.WebResizingExtender | Persists client resizing for the worker grid. |
| `WebResizingExtender_dgSchedule` | WebResizingExtender | Direct Infragistics control (no SAIF wrapper) | Infragistics.WebUI.WebResizingExtender | Persists client resizing for the schedule grid. |
| `WebResizingExtender_dgRotation` | WebResizingExtender | Direct Infragistics control (no SAIF wrapper) | Infragistics.WebUI.WebResizingExtender | Persists client resizing for the rotation grid. |

## Navigation

| Target | Trigger | Parameters |
| --- | --- | --- |
| None confirmed in screen-specific source | N/A | N/A |

---

> **Note:** Statements marked with `*` were inferred from code structure, naming conventions, or contextual evidence where direct confirmation was not available in source artifacts. Statements marked with `**` could not be confirmed; treat as unknown until verified.

## Sources
- LegalMaintenance\frmAttorneyAssignment.aspx
- LegalMaintenance\frmAttorneyAssignment.aspx.vb
